package desktop.conf;

/**
 * configure the BarBuilder,but not every single bar.
 * 
 * @author wuyang
 */
public class BarConf {
	private static int column = 2;
	private static int row = 3;

	public static int getColumn() {
		return 1 + (int) Math.round((Math.random() * (column - 1)));
	}

	public static void setColumn(int column) {
		BarConf.column = column;
	}

	public static int getRow() {
		return 1 + (int) Math.round((Math.random() * (row - 1)));
	}

	public static void setRow(int row) {
		BarConf.row = row;
	}

}
